package com.es.designmode.factorymethod;

/**
 * @author Will
 */
public class ProductExA extends Product {
    public ProductExA(String name) {
        super(name);
    }

    @Override
    public void doSth() {
        System.out.println("ExA工厂");
        System.out.println("id:" + getId());
        System.out.println("name:" + getName());
    }
}
